<style>
/* 重写样式 */
.fui-header.block {
    display: block;
}

.fui-tab {
    margin: 0;
}

.fui-tab a {
    height: 2.2rem;
    line-height: 2.2rem;
}

.fui-tab:after {
    display: none;
}
.nickname {
    color: #50b6fe;
}
    .shop-index-page .menu {height: auto; background: #fff;}
    .shop-index-page .menu .item {height: auto; width: 1%; padding: 0.5rem 0; margin: 0; font-size: 0.7rem; color: #636363; text-align: center; display: table-cell;position: relative;}
    .shop-index-page .menu .item:after  {font-size: 0.7rem;position: absolute;content: '';left:-1px;top:0.5rem;bottom:0.5rem;border-left:1px solid #d9d9d9;}
    .content-empty{padding:1rem 0;margin:0;}
source{
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
}
</style>
<div class='fui-page fui-page-current'>
	<div ng-include="sys_html('common/_header')"></div>
	<div class="fui-content">
	<div class="jy-topbg" style="top:0;">
	<div class="jy-content">
	<div class="fui-cell-title c" style="padding-top:3rem;padding-bottom:0">
		<img ng-src="{{pagedata.pluginset.ailogo || '../addons/jy_agentmcp/resource/images/ailogo.png'}}" style="height:4rem;"/>
	</div>
	<div class="fui-cell-title bold c">{{pagedata.showtypetitle}}好！{{pagedata.pluginset.toptitle||'我是你的AI智能体'}}</div>
	<style>
	.btn{border-radius: 100%;border: 0 solid #ebebeb;margin: 0.25rem;}
	.btn-logo.active{border: 2px solid #3263fe;}
	.btn-logo {
			padding:0px;
			height:2rem;
			width:2rem;
			border-radius: 100%;
			border: 2px solid #ebebeb;
	}
	.label-gray{
		background-color:#f2f2f2;
		color:#333;
		border-radius:1rem;
		padding:0.3rem;
		font-size:0.7rem
	}
	.label-gray.active{
		background-color:#e8fcf8;
		color:#18bc9c;
	}
	</style>
	<div class="radius" style="background: #ffff;">
	<div style="padding-top: 0.5rem;">
		<div class="c">
			<div class="weui_btn_area" style="margin-top:0">
				<a class="weui_btn weui_btn_primary" style="background: #eaeef9;color:#354fe2;" href="javascript:" id="showTooltips" href="javascript:;" ng-click="access_json('/editmcp/')"><i class="icon icon-tianjia"></i> 添加设备</a>
			</div>
		</div>
	</div>
	<div ng-include="sys_html('common/_mygoodsindex')"></div>
	</div>
	</div>
	<div ng-include="sys_html('common/_copyright',true)"></div>
	<div ng-include="sys_html('common/_footer')"></div>
</div>
</div>
</div>
<script>
scope.pagedata.scancode=function () {
			wx.scanQRCode({
				needResult: 1, // 默认为0，扫描结果由微信处理，1则直接返回扫描结果，
				scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码，默认二者都有
				success: function (res) {
					var result = res.resultStr; // 当needResult 为 1 时，扫码返回的结果
					result=result.replace('EAN_13,', '');
					scope.pagedata.item.productsn = result;
					scope.$evalAsync();
				}
			});
}
</script>